<%@ page language="java" contentType="text/html; charset=UTF-8"  pageEncoding="UTF-8"%>
<%@ taglib uri="/oscache" prefix="oscache"%>
<%@ page import="com.vworks.framework.utils.ApplicationContextContainer" %>
<%@ page import="com.vworks.cms.channel.service.CMSChannelService" %>
<%@ page import="com.vworks.cms.channel.dao.model.*" %>
<%@ page import="java.util.List" %>
<%
ChannelListConditionEntity clc=null;
String[] showTop=new String[]{"产品","研究"};
String[] topnow=(request.getAttribute("topnow")==null || "".equals(request.getAttribute("topnow")))?new String[]{"0"}:String.valueOf(request.getAttribute("topnow")).split("\\|");
int top1=Integer.parseInt( topnow[0]);
int top2=Integer.parseInt((topnow.length>1)?topnow[1]:"0");

%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>凯石工场: <sitemesh:write property='title'/></title>
<link href="/static/vworks/css/index.css" rel="stylesheet" type="text/css" media="screen"/>
<script type="text/javascript" src="/static/vworks/js/jquery.js"></script>
<script type="text/javascript">
$(function($) {
	$('.navigation a').each(function(i){
		
		$(this).mouseover(function(){
			$('.navigation a').each(function(j){
				if(i!=j)
					$('#localDiv'+j).fadeOut(1);
			});		
			$('#localDiv'+i).css('margin-left',parseInt(120)+(parseInt(80)*(i+1)));
			if(i>0){
				$('#localDiv'+i).show('slow','swing');
			}
		});
	});
	
	<%if(top1>1){%>
		$('#localDiv<%=top1-1%>').css('margin-left',parseInt(120)+(parseInt(80)*(<%=top1%>)));
		$('#localDiv<%=top1-1%>').show('slow','swing');
		$('#localDiv<%=top1-1%> a:eq(<%=top2-1%>)').addClass("dangqian");	
	<%}%>
	
});


</script>
<sitemesh:write property='head'/>
</head>
<body>
	<div class="top">
		<div class="logo">
			<img src="/static/vworks/images/logo.gif" width="210" height="39" />
		</div>
		<div class="navigation">
			|<a href="<%=request.getContextPath() %>/html/index.html"  <%=(top1==1?"class=\"dangqian\"":"") %>>首页</a>| <a href="<%=request.getContextPath() %>/html/mutualfund.html"  <%=(top1==2?"class=\"dangqian\"":"") %>>产品</a> |
			<a href="<%=request.getContextPath() %>/html/research/mutualfund.html" <%=(top1==3?"class=\"dangqian\"":"") %>>研究</a>|<a
				href="#">交易</a>|<!--  | <a href="#">服务</a>|--> <a href="<%=request.getContextPath()%>/html/aboutus/1/index.html" <%=(top1==5?"class=\"dangqian\"":"") %>>关于我们</a>|
		</div>
		<div class="top_dl">
			<a href="#" class="dengl">登录</a>|<a href="#">注册</a><span><input
				name="" type="text" / class="top_inp"></span>
		</div>
		<div class="clear"></div>
	</div>
	<div class="about_daohang"  >
		<div class="daohang2">
		<%int i=1;
		for(String path:showTop){
			clc=new ChannelListConditionEntity();
			clc.setC_path("/vworks/CN/ChannelHome/凯石工场/"+path+"/");
			clc.setC_level(6);
			CMSChannelService cis=(CMSChannelService)ApplicationContextContainer.getApplicationContext().getBean("cmsChannelService");
			List<ChannelListEntity>  list=cis.channelList(clc);%>
			<div id="localDiv<%=i++ %>" style="margin-left:200px;display: none;">
			<%for(ChannelListEntity ce:list) {%>
					
				<a href="<%=(ce.getA_f_is_out_link()==1 && ce.getA_f_out_link()!=null)?(request.getContextPath()+ce.getA_f_out_link()):"#" %>"  ><%=ce.getA_name() %></a>
					
		<%	} %></div>	
		<%}%>
			 
		</div>
	</div>
<sitemesh:write property='body'></sitemesh:write>
	<div class="bottom_bg">
		<div class="bottom_ne">
			<ul>
				<li>公司地址：上海黄浦区延安东路一号凯石大厦 4楼</li>
				<li>联系电话：<br />4000178000
				</li>
				<li>邮箱：<br />wx@vstone.com.cn
				</li>
				<li style="margin-right: 0px;">企业QQ：<br />4000178000
				</li>
			</ul>
			<div class="wangzhanditu">
				<span class="tu"><img
					src="/static/vworks/images/bottom_img.gif" width="28" height="24" /></span>网站地图
					<a href="#" class="tu2"> <img src="/static/vworks/images/bottom_img2.gif" width="8" height="4" /></a>
			</div>
		</div>
	</div>

</body>
</html>